package impl;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareAnnotation;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import services.Encoreable;

@Component
@Aspect
public class EncoreableIntroducers {
    //测试通过切面为bean注入新方法
    @DeclareParents(value = "services.Performance+", defaultImpl = DefaultEncoreable.class)
    public static Encoreable encoreable;
}
